students=[{"name":"Paul","age":27,"sex":True,"exams":["exam1","exam2","exam3"]},{"name":"Jennie","age":22,"sex":False,"exams":["exam1","exam2"]},{"name":"Annie","age":24,"sex":False,"exams":["exam1","exam2","exam3","exam4"]}]
for student in students:
    print(student["exams"][-1])